<template>
	<image src="/static/lh/2535/top.png" style="width: 750rpx" mode="widthFix" @error="imageError"></image>
</template>

<script setup>
	import {
		watch,
		ref
	} from 'vue'
	const src = ref('')
	import { constStore } from '@/store/const'
	const {constInfo} = constStore()
	const props = defineProps({
		src: {
			type: String,
			default: ''
		},
		width: {
			type: String,
			default: '750rpx'
		},
		mode: {
			type: String,
			default: 'widthFix'
		},
	})
	watch((props.src) => (oldValue, newValue) => {
		console.log(oldValue, newValue,constInfo.srcConst);
	})
	const imageError = (e) => {

	}
</script>

<style>

</style>